home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODUtils:Unused
- Sent: 6/6/96 3:44 PM
- Received: 6/6/96 3:51 PM
- From: Hutchings Software Development, hsd@earthlink.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- A few weeks ago, Henri wrote about the ODUtils::Unused folder:
-
- > The Node class is part of the OpenDoc Utilities. They are a set of
- > utilities developed by the OpenDoc team. ODF use internally a small
- portion
- > of those utilities. Stuff we don't use are in the unused folder. Those
- > classes and utilities are not part of the ODF project but they can be
- very
- > useful. Your are free to use them. The maintenance and development of
- those
- > utilities is done by the OpenDoc team. They are also available with the
- > OpenDoc SDK.
-
- Some of these files do not compile when put into an ODF project.
- "ODUtils.cpp" for example, complains about OpenDoc "ASSERT" macros. It
- would be useful if some layer of ODF took care of matching all the OpenDoc
- macros (defined in the unused Utilities) to ODF macros.
-
- After inserting all of the files from ODUtils::Unused into an ODF project
- (just to test out the compile process), I found just a few compiler errors:
-
- (1) Several files use the OpenDoc "ASSERT" macro, which takes two
- parameters, a condition and an error number. There are other variations,
- like "WASSERT" used as well. Could these be mapped to a new macro
- FW_ASSERT_ERROR or existing ODF macros where appropriate?
-
- (2) The file Except.cp had problems with redeclared macros, BUT there
- should be no conceivable reason to use that file.
-
- (3) Printer.r and UtilCmmn.r do not have appropriate #includes, but that's
- not ODF's problem, and they shouldn't be needed in any ODF projects.
-
- (4) Another macro, "WARN", which is used with Debug OpenDoc.
-
-
-
- Suggestion: Maybe in future releases, the ODUtils::Unused could be split up
- into ODUtils::Unused and ODUtils::Dont_Use.
-
- Brad
-
-
- Richard B. "Brad" Hutchings
- General Partner,
- Hutchings Software Development
-
- hsd@earthlink.net
-